/**
 * Copyright (c)  HeiFeiDeFengZheng.Co.Ltd. All rights reserved.
 **/
package com.defu.newmall.service;

import com.defu.newmall.entity.AdminUser;
import com.defu.newmall.entity.AdminUserToken;
import com.defu.newmall.vo.UpdateAdminNameParam;
import com.defu.newmall.vo.UpdateAdminPasswordParam;

/**
 * 功能描述：
 *
 * @author huifeidefengzheng
 * @since 2024-01-28
 *
 **/
public interface AdminUserService {
    AdminUserToken login(String userName, String passwordMd5);

    AdminUser getUserDetailById(Long adminUserId);

    boolean updateName(UpdateAdminNameParam adminNameParam);

    boolean updatePassword(UpdateAdminPasswordParam adminPasswordParam);

    void logout(Long adminUserId);
}
